package cn.fws.meap.community.vo;

/**
 * 微信小程序返回的微信的唯一标识
 * AccessToken实体类用于组装返回结果
 */
public class AccessToken {
    private String token;
    private int expiresIn;

    public AccessToken() {
    }

    public AccessToken(String token, int expiresin) {
        this.token = token;
        this.expiresIn = expiresin;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresin) {
        this.expiresIn = expiresin;
    }

    @Override
    public String toString() {
        return "AccessToken{" +
                "token='" + token + '\'' +
                ", expiresin=" + expiresIn +
                '}';
    }
}
